#include "./app_task.h"
#include "../service/conn.h"
#include "../driver/cmd_uart.h"
#include "../driver/mdb_uart.h"
#include "./mdb_task.h"
#include "../driver/log_uart.h"

namespace task {

AppTask appTask;

using namespace driver;

void AppTask::run() {
    cmdUart.init();
    mdbUart.init();
    logUart.init();

    logUart.printf("mdbc run\r\n");

    mdbTask.init_start();
    service::conn_loop();
}

}